-- GENERATED SPELL FOR [Plaguebone Pillager] --


function spell0_15654(pUnit, Event) --@Strike,n/a--
pUnit:FullCastSpellOnTarget(11976,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15654', 599, 1)
end

function Sorts_15654(pUnit, Event)
local choix_sorts_15654 = math.random(0, 0)
if choix_sorts_15654 == 0 then
pUnit:RegisterEvent('spell0_15654', 1, 1)
end
end

function mob15654_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15654', math.random(1500, 3000), 1)
end

function mob15654_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15654_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15654_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15654, 1, 'mob15654_Action')
RegisterUnitEvent(15654, 2, 'mob15654_Leave')
RegisterUnitEvent(15654, 3, 'mob15654_Kill')
RegisterUnitEvent(15654, 4, 'mob15654_Die')
